package com.ricky02;


import com.ricky03.Ricky03Config;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;

@Configuration
@Import(Ricky03Config.class)
public class RickyConfig02 {
    @Bean
    public Runnable create(){
        return ()->{
            System.out.println("创建了");
        };
    }
}
